package cn.onlov.video.bo;


import lombok.Data;

public enum FfmpegEnum {

    /**
     * 裁剪
     */
    CUT_VIDEO(1,"裁剪"),
    /**
     * 带图片的裁剪
     */
    CUT_WITH_PIC(2,"带图片裁剪"),
    /**
     * 压缩
     */
    ZIP_VIODE(3 ,"压缩"),

    /**
     *转码
     */
    CONVERT_VIDEO(4 ,"转码");

    private Integer code ;
    private String type ;

    FfmpegEnum(Integer code, String type) {
        this.code = code;
        this.type = type;
    }

    public static void main(String[] args) {

        Integer code = FfmpegEnum.CONVERT_VIDEO.code;
        System.out.println(code);
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
